package com.hs.mpdemo_01.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (Users)实体类
 *
 * @author makejava
 * @since 2023-08-14 21:36:22
 */
@TableName("users")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Users implements Serializable {
    private static final long serialVersionUID = -84088374890704956L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String password;
    private String passwordSalt;
    @TableLogic
    private Integer state;
}

